<?php /* Smarty version Smarty-3.1.12, created on 2013-01-12 02:34:26
         compiled from "templates\app.html" */ ?>
<?php /*%%SmartyHeaderCode:1221550ea78784ccf87-39696810%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '34974289b36a6063b24806f10df8f8a20de8fa70' => 
    array (
      0 => 'templates\\app.html',
      1 => 1357955584,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1221550ea78784ccf87-39696810',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50ea787884ff67_06063320',
  'variables' => 
  array (
    'assign_appinfo' => 0,
    'uid' => 0,
    'integral' => 0,
    'assign_bannerapp' => 0,
    'assgin_bannerapp' => 0,
    'assign_skeyword' => 0,
    'assign_search' => 0,
    'assign_artcategory' => 0,
    'assign_countapp' => 0,
    'assign_radnom' => 0,
    'assign_other' => 0,
    'assign_picurl' => 0,
    'assign_listpush' => 0,
    'assign_right' => 0,
    'assign_apprank' => 0,
    'assign_rightapp' => 0,
    'assign_newstop5' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50ea787884ff67_06063320')) {function content_50ea787884ff67_06063320($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/templates/css/style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/app.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/templates/js/global.js"></script>
<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[4]['info'];?>
" />
<!--[if lt IE 10]>
<script type="text/javascript" src="templates/js/PIE.js"></script>
<![endif]-->
<title><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[1];?>
</title>
</head>
<body>
	<div id="wrap">
		<div id="nav">
        	<div class="nav_menu">
            	<div class="nav_menu_left">
                	<li>收藏本站</li>
                    <li>固件</li>
                    <li>新闻中心</li>
                    <li>新手教程</li>
                    <li>越狱</li>
                    <li>微博</li>
                    <li>商务合作</li>
                </div>
                <div class="nav_menu_right">
                	<?php if ($_smarty_tpl->tpl_vars['uid']->value!=''){?>
                	<li><a href="/member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">进入会员中心</a></li>
                    <li><a href="/member.php?id=<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
">剩余积分:<?php echo $_smarty_tpl->tpl_vars['integral']->value;?>
</a></li>
					<li class="quit"><span>退出</span></li>
					<?php }elseif($_smarty_tpl->tpl_vars['uid']->value==''){?>
					<li><a href="login.php?id=1">注册</a></li>
                    <li><a href="login.php?id=2">登录</a></li>				
                    <?php }?>
                </div>
            </div>
        </div><!--顶部-->
        <div id="header">
        	<div id="banner"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['id'];?>
.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_bannerapp']->value[0]['url'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assgin_bannerapp']->value[0]['name'];?>
" /></a></div>
            <div id="menu">
            	<div class="logo"></div>
                <div class="search">
                	<div class="search_content">
						<div class="search_main">
							<form action="/search.php" method="get">
                        	<div class="search_icon"></div>
							
                        	<input class="search_text" name="keywords" type="text" value="<?php echo $_smarty_tpl->tpl_vars['assign_skeyword']->value[0]['name'];?>
" /></div>
							<input class="search_button" type="submit" value="搜索" />
                        	</form>
						
                        	
                    </div>
                    <div class="search_keywords">热门搜索：
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['name'] = "s";
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_search']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["s"]['total']);
?>
                        	<a href="/search.php?keywords=<?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
&page=1" target="_blank"><span><?php echo $_smarty_tpl->tpl_vars['assign_search']->value[$_smarty_tpl->getVariable('smarty')->value['section']['s']['index']]['name'];?>
 </span></a>
                        <?php endfor; endif; ?>
                    </div>
                </div>
                	<div class="menu_tab">
                    	<li class="selected"><a href="/index.html" target="_blank">iPhone游戏</a></li>
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['name'] = "c";
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_artcategory']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["c"]['total']);
?>
                        	<li><a href="/article-1-<?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['id'];?>
-0.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_artcategory']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name'];?>
</a></li>
                        <?php endfor; endif; ?>
<!--                        <li>游戏测评</li>
                        <li>iPhone新闻</li>-->
                        <li><a href="/lottery.html" target="_blank">积分兑换</a></li>
                    </div>
            </div>
            <div id="menu_list">
				<div class="listmenu">
              		<li><a href="/index.html" target="_blank">首页</a></li>
                	<li><a href="/app_list.php?page=1&order=0&id=0&pri=1&ca=0&kw=0&pre=" target="_blank">限时免费</a></li>
                	<li><a href="/app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">热门游戏</a></li>
                	<li><a href="/app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">最新APP应用</a></li>
                	<li><a href="/app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=51" target="_blank">网游</a></li>
				</div>
                <div class="app_count"><h1>共<?php echo $_smarty_tpl->tpl_vars['assign_countapp']->value;?>
个应用,今日更新<?php echo $_smarty_tpl->tpl_vars['assign_radnom']->value;?>
个应用</h1></div>
            </div>
        </div><!--头部-->
        <div id="container">
        <div id="content">
			<div id="app">
				<div class="location"><a href="/app_list.php?page=1&id=0&pri=0&ca=&kw=&pre" target="_blank">应用下载</a>>>><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[1];?>
</div>
				<div class="app_main">
					<div class="main_left">
						<div class="left_icon">
							<img style="border-radius:30px;" src="<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[0];?>
" width="175px" height="175px" fliter-option="<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
"/>
						</div>
						<?php if ($_smarty_tpl->tpl_vars['assign_appinfo']->value[15]!=''){?>
						<a href="<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[15];?>
"><div class="left_jailbreak click">越狱下载</div></a>
						<?php }else{ ?>
						<div class="left_jailbreak">暂无越狱下载</div>
						<?php }?>
						<a href="<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[14];?>
" target="_blank"><div class="left_download" option-value="<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[17];?>
">iTunes下载</div></a>
						<script>

						</script>
						<div class="left_info">
							<ul>
								<li><span>类别:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[2];?>
</li>
								<li><span>版本:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[3];?>
</li>
								<li><span>大小:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[9];?>
MB</li>
								<li><span>下载:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[13];?>
</li>
								<li><span>评分:</span>
									<div class="rating">
									<?php if ($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==1){?>
										<dt class="full"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==1.5){?>
										<dt class="full"></dt>
										<dt class="half"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==2){?>
										<dt class="full"></dt>
										<dt class="full"></dt>										
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==2.5){?>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="half"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==3){?>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==3.5){?>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="half"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==4){?>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==4.5){?>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="half"></dt>
									<?php }elseif($_smarty_tpl->tpl_vars['assign_appinfo']->value[12]==5){?>									
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
										<dt class="full"></dt>
									<?php }?>
									</div>							
								</li>
								<li><span>评分人数：</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[16];?>
</li>
								<li><span>上线日期:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[7];?>
</li>
								<li><span>开发商:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[5];?>
</li>
								<li><span>售价:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[10];?>
</li>
								<li><span>语言:</span><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[8];?>
</li>
							</ul>
						</div>
						<div class="left_other">
                        	<h1 class="other_title"><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[5];?>
的其他应用</h1>
                        	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["o"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['name'] = "o";
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_other']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["o"]['total']);
?>                            
								<li>
									<div class="li_icon"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_other']->value[$_smarty_tpl->getVariable('smarty')->value['section']['o']['index']]['id'];?>
.html" target="_blank"><img width="48px" height="48px" src="<?php echo $_smarty_tpl->tpl_vars['assign_other']->value[$_smarty_tpl->getVariable('smarty')->value['section']['o']['index']]['icon'];?>
" /></a></div><p><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_other']->value[$_smarty_tpl->getVariable('smarty')->value['section']['o']['index']]['id'];?>
.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_other']->value[$_smarty_tpl->getVariable('smarty')->value['section']['o']['index']]['name'];?>
</a></p>
								</li>
                            <?php endfor; endif; ?>
						</div>
					</div>
					<div id="main_right">
                    <div class="main">
						<h1 class="main_title"><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[1];?>
</h1>
						<span class="main_tags">标签:<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[4]['info'];?>
</span>
                    </div>
						<div class="main_intro">
                       	
							
							<div id="main_content">简介:<?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[6];?>
</div>
                            <div id="button" class="down"></div>                            
                            <script>
								
							</script>                           
                        </div>
                     	<div id="slider">
                            	<div class="slider_pre"></div>
                            	<div class="slider_main">
                                	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['name'] = "p";
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_picurl']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total']);
?>
                                    <?php if ($_smarty_tpl->tpl_vars['assign_picurl']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id']==0){?>
                                    <li option-value="<?php echo $_smarty_tpl->tpl_vars['assign_picurl']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
" class="selected"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_picurl']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['url'];?>
" /></li>
                                    <?php }else{ ?>
                                	<li option-value="<?php echo $_smarty_tpl->tpl_vars['assign_picurl']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_picurl']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['url'];?>
" /></li>
                                    <?php }?>
                                    <?php endfor; endif; ?>
                                </div>
                                <div class="slider_next"></div>
                                <script>
								
									/**/
								</script>
                            </div>
                        <div class="main_push">
                        	<div class="jieshao">推荐APP</div>
                            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["t"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['name'] = "t";
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_listpush']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["t"]['total']);
?>
                            	<li>
                               		<div class="image"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_listpush']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['id'];?>
.html" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_listpush']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['path'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['assign_listpush']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['name'];?>
" width="154px" height="116px" /></a></div>
									<div class="desc"><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_listpush']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['id'];?>
.html" target="_blank"><?php echo $_smarty_tpl->tpl_vars['assign_listpush']->value[$_smarty_tpl->getVariable('smarty')->value['section']['t']['index']]['name'];?>
</a></div>
                               	</li>
                            <?php endfor; endif; ?>
                         	</div>
						</div>
                    </div>
				</div>
                <div id="content_right">
                	<div class="content_app2" style="background:#fff; border:1px solid #dddddd;">
                    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['name'] = "right";
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_right']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["right"]['total']);
?>
						<div class="single">
							<a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['id'];?>
-1.html" target="_blank"><img src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
" width="230px" height="100px" /> </a>
                        	<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_right']->value[$_smarty_tpl->getVariable('smarty')->value['section']['right']['index']]['name'];?>
</div>
                        </div>
						<?php endfor; endif; ?>
                    </div>
                    <div class="content_rank">
                    	<div class="category"><div class="category_name">免费应用排行</div><div class="more"><a href="app_list.php?page=1&id=0&pri=1&ca=&kw=&pre" target="_blank">更多>></a></div></div>
                        	<ul class="top">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['name'] = "p";
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_apprank']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["p"]['total']);
?>
								<?php if ($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<4){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num1">0<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }elseif($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']<10){?>
								<li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num">0<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
                                <?php }elseif($_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num']==10){?>
                                <li><a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id'];?>
.html" target="_blank"><div class="num"><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['num'];?>
</div><div class="icon"><img src="<?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['icon'];?>
" width="48px" height="48px" /></div><?php echo $_smarty_tpl->tpl_vars['assign_apprank']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name'];?>
</a></li>
								<?php }?>
							<?php endfor; endif; ?>
                            </ul>
                    	<div class="content_app2">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['name'] = "rightapp";
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_rightapp']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["rightapp"]['total']);
?>
                    		<div class="single">
								<a href="/app_list/app-<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['id'];?>
.html" target="_blank"><img width="230px" height="100px" src="/images/<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['pic'];?>
.png" alt="<?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
" /></a>
                        		<div class="name"><?php echo $_smarty_tpl->tpl_vars['assign_rightapp']->value[$_smarty_tpl->getVariable('smarty')->value['section']['rightapp']['index']]['name'];?>
</div>
                        	</div>
							<?php endfor; endif; ?>
                    	</div>
                    </div>
                    <div class="content_news content_intro">
                    	<div class="name">新闻资讯</div>
                        	<div class="category">苹果新闻</div>
							<div class="more"><a href="/article-1-1.html" target="_blank">[全部]</a></div>
                            <div class="newslist">
                             <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['name'] = "n";
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['assign_newstop5']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["n"]['total']);
?>
                        		<li><div class="newsicon"></div><a href="/article/view-<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['id'];?>
-1.html" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['assign_newstop5']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['title'];?>
</a></li>
                            <?php endfor; endif; ?>
                           	</div>
                    </div>

                </div><!--右侧-->
			</div>
            <div id="footer"><?php echo $_smarty_tpl->tpl_vars['assign_appinfo']->value[18];?>
</div><!--底部-->
        </div>
    </div>
	</div>
</body>
<script>
	$(document).ready(function(){
		$(".main_intro").find("#button").click(function(){
										if(!$(".main_intro").find("#main_content").hasClass("intro_current")){
											$(".main_intro").find("#main_content").addClass("intro_current");
											$(".main_intro").find("#button").removeClass("down").addClass("up");
										}else{				
											$(".main_intro").find("#main_content").removeClass("intro_current");
											$(".main_intro").find("#button").removeClass("up").addClass("down");
										}
									});
								});
								
	var explorer = window.navigator.userAgent ;
									if((explorer.indexOf("MSIE") >= 0)){
										var width = $("#slider").find("img").width();
										var height = $("#slider").find("img").height();
										
										if(width/height > 1){
											img_width = 480;
											img_height = 480*parseInt(height)/parseInt(width);									
											$("#slider").find("img").attr("width",img_width);
											$("#slider").find("img").attr("height",img_height);
										}else if(width/height <1){
											img_height = 360;
											img_width = 360*parseInt(width)/parseInt(height);									
											$("#slider").find("img").attr("width",img_width);
											$("#slider").find("img").attr("height",img_height);										
										}
										var swidth = (510-parseInt(img_width))/2;
										var sheight = (360-parseInt(img_height))/2;										
										var smargin = sheight+"px "+swidth+"px";
										$("#slider").find(".slider_main").css({"width":img_width,"height":img_height,"margin":smargin});
										$("#slider").find(".slider_main li").css({"width":img_width,"height":img_height,"margin":"0 auto"});
										$(".slider_main").find("img").show();
									}else{
										$(window).load(function(){
											$(".slider_main li").find("img").hide();
											var width = $("#slider").find("img").width();
											var height = $("#slider").find("img").height();
											
											if(width/height > 1){
												img_width = 480;
												img_height = 480*parseInt(height)/parseInt(width);						
												$("#slider").find("img").attr("width",img_width);
												$("#slider").find("img").attr("height",img_height);											
											}else if(width/height <1){
												img_height = 360;
												img_width = 360*parseInt(width)/parseInt(height);						
												$("#slider").find("img").attr("width",img_width);
												$("#slider").find("img").attr("height",img_height);										
											}//error
											
											var swidth = (510-parseInt(img_width))/2;
											var sheight = (360-parseInt(img_height))/2;										
											var smargin = sheight+"px "+swidth+"px";
											$("#slider").find(".slider_main").css({"width":img_width,"height":img_height,"margin":smargin});
											$("#slider").find(".slider_main li").css({"width":img_width,"height":img_height,"margin":"0 auto"});
											$(".slider_main").find("img").show();
										});
									}

									url_id = document.location.search;
									url_id = url_id.replace(/\?id=/,'');
									var count = document.getElementById('slider').getElementsByTagName('li').length;
									var last = parseInt(count)-1;
									$(document).ready(function(){
										$("#slider").find(".slider_pre").click(function(){
											for(i=0;i<count;i++){
												if($(".slider_main").find("li").eq(i).hasClass("selected")){
													var id = $(".slider_main").find("li").eq(i).attr("option-value");
													if(id == 0){
														y =last;
														$(".slider_main").find("li").eq(id).removeClass("selected");
														$(".slider_main").find("li").eq(y).addClass("selected");
														break;
													}else{
														y = parseInt(i)-1;
														$(".slider_main").find("li").eq(i).removeClass("selected");
														$(".slider_main").find("li").eq(y).addClass("selected");
													}
												}
											}
										});
									});
									$(document).ready(function(){
										$("#slider").find(".slider_next").click(function(){
											for(i=0;i<count;i++){
												if($(".slider_main").find("li").eq(i).hasClass("selected")){
													var id = $(".slider_main").find("li").eq(i).attr("option-value");
													if(id == last){
														y = 0;
														$(".slider_main").find("li").eq(id).removeClass("selected");
														$(".slider_main").find("li").eq(y).addClass("selected");														
													}else{
														y = parseInt(id)+1;
														$(".slider_main").find("li").eq(i).removeClass("selected");
														$(".slider_main").find("li").eq(y).addClass("selected");	
														break;													
													}
												}
											}
										});
									});
</script>
</html>

<?php }} ?>